package com.yanqu.road.entity.log.cross.fivehero;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(desc = "五雄争霸-修复书籍", tableName = "t_l_ck_activity_fivehero_log_book", autoSave = true, uploadCk = true, isCross = true)
public class LogFiveHeroBook extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "分组id", isIndex = true)
    private int groupId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionUid;
    @FieldTypeAnnotation(desc = "品质")
    private int quality;
    @FieldTypeAnnotation(desc = "典籍商会唯一id")
    private int bookNo;
    @FieldTypeAnnotation(desc = "典籍id")
    private int bookId;
    @FieldTypeAnnotation(desc = "进度值")
    private int value;
    @FieldTypeAnnotation(desc = "是否完成1完成0没完成")
    private int over;

    public LogFiveHeroBook(int groupId, int activityId, long userId, String unionUid, int quality, int bookId, int value, int over, int bookNo) {
        this.groupId = groupId;
        this.activityId = activityId;
        this.userId = userId;
        this.unionUid = unionUid;
        this.quality = quality;
        this.bookId = bookId;
        this.value = value;
        this.over = over;
        this.bookNo = bookNo;
    }

    public long getUserId() {
        return userId;
    }

}
